<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>遥远的她</title>
    <style>
        a {
            text-decoration: none;
        }
        .con {
            position: relative;
            width: 400px;
        }
        .con.item {
            width: 100%;
            height: 100%;
        }
        .con.item img {
            width: 100%;
        }
        .play-btn {
            opacity: 0;
            position: absolute;
            width: 50px;
            height: 50px;
            right: 10%;
            bottom: 10%;
            background: url(../photo/播放.png) no-repeat center;
            transition: opacity 0.4s ease-in 0.4s;
        }
        .con:hover .play-btn{
            opacity: 1;
        }
        .mask {
            width: 100%;
            height: 0;
            position: absolute;
            bottom: 0;
            transition: height 0.5s ease-in-out;
            overflow: hidden;
        } 
        .con:hover .mask {
            height: 100%;
        }
    </style>
</head>
<body>
    <div class="con">
        <a href="" class="item"><img src="../photo/遥远的她.jpg" alt=""></a>
        <a href="" class="play-btn"></a>
        <a href="" class="mask">
            <h1>她在哪里了</h1>
            <p>远方的她, 正无语凝眸, 望眼欲穿</p>
        </a>
    </div>
</body>
</html>